package cn.ven.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Document("t_support")
public class Support {
    @Id
    private String id;
    @Indexed
    private String uid;//用户id
    private String blogid;//博客id

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getBlogid() {
        return blogid;
    }

    public void setBlogid(String blogid) {
        this.blogid = blogid;
    }

    @Override
    public String toString() {
        return "Support{" +
                "id='" + id + '\'' +
                ", uid='" + uid + '\'' +
                ", blogid='" + blogid + '\'' +
                '}';
    }
}
